Constify fprintdms.
authorrobertl <robertl>
Thu, 19 Sep 2002 15:51:20 +0000 (15:51 +0000)
committerrobertl <robertl>
Thu, 19 Sep 2002 15:51:20 +0000 (15:51 +0000)
defs.h
util.c

diff --git a/defs.h b/defs.h
index f8d892fdba2205028bd0425f92652a0df666990a..128abe1ae3c0cf7ae9ed9ac80436153e1ece5d5f 100644 (file)
--- a/defs.h
+++ b/defs.h
@@ -92,10 +92,11 @@ void waypt_add (waypoint *);
 void route_add (waypoint *);
 void waypt_disp_all(waypt_cb);
 unsigned int waypt_count(void);
-void fprintdms(FILE *, coord *, int);
+void fprintdms(FILE *, const coord *, int);
 char *mkshort (const char *);
 void setshort_length(int n);
 void setshort_badchars(const char *);
+void setshort_mustupper(int n);
 
 typedef struct ff_vecs {
        ff_init rd_init;
diff --git a/util.c b/util.c
index 68504ae22b79b21140197053749562507f82c464..66e729b0655c7ef4e2644110015e897a85a74f7f 100644 (file)
--- a/util.c
+++ b/util.c
@@ -81,7 +81,7 @@ printposn(coord *c, int is_lat)
 }
 
 void
-fprintdms(FILE *file, coord *c, int is_lat)
+fprintdms(FILE *file, const coord *c, int is_lat)
 {
        char d;
        if (is_lat) {